PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Drawing / Trails / Flexi - ininity tap convolution roams copulatory negentropix.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.210 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=100.000 |
| 33 | fZoomExponent=0.01559 |
| 34 | fShader=1.000 |
| 35 | zoom=0.99010 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 89 | wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=mx=mx+(.0002*cos(ma)); |
| 92 | wave_0_per_point5=my=my+(.0002*sin(ma)); |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 95 | wave_0_per_point8=my=if(above(my,.9),(.9-my),my); |
| 96 | wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 97 | wave_0_per_point10=my=if(below(my,.1),(.9+my),my); |
| 98 | wave_0_per_point11= |
| 99 | wave_0_per_point12=x=mx; |
| 100 | wave_0_per_point13=y=my; |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=a=(above(bass+mid+treb,.8)); |
| 103 | wavecode_1_enabled=1 |
| 104 | wavecode_1_samples=512 |
| 105 | wavecode_1_sep=0 |
| 106 | wavecode_1_bSpectrum=0 |
| 107 | wavecode_1_bUseDots=0 |
| 108 | wavecode_1_bDrawThick=1 |
| 109 | wavecode_1_bAdditive=0 |
| 110 | wavecode_1_scaling=1.00000 |
| 111 | wavecode_1_smoothing=0.50000 |
| 112 | wavecode_1_r=1.000 |
| 113 | wavecode_1_g=1.000 |
| 114 | wavecode_1_b=1.000 |
| 115 | wavecode_1_a=1.000 |
| 116 | wave_1_per_point1=ma=ma+(above(bass,1)*3.1415*.05*bass); |
| 117 | wave_1_per_point2=ma=ma-(above(mid,1)*3.1415*.05*mid); |
| 118 | wave_1_per_point3= |
| 119 | wave_1_per_point4=mx=mx+(.0001*cos(ma)); |
| 120 | wave_1_per_point5=my=my+(.0001*sin(ma)); |
| 121 | wave_1_per_point6= |
| 122 | wave_1_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 123 | wave_1_per_point8=my=if(above(my,.9),(.9-my),my); |
| 124 | wave_1_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 125 | wave_1_per_point10=my=if(below(my,.1),(.9+my),my); |
| 126 | wave_1_per_point11= |
| 127 | wave_1_per_point12=x=mx; |
| 128 | wave_1_per_point13=y=my; |
| 129 | wave_1_per_point14= |
| 130 | wave_1_per_point15=a=(above(bass+mid+treb,.1)); |
| 131 | wavecode_2_enabled=1 |
| 132 | wavecode_2_samples=512 |
| 133 | wavecode_2_sep=0 |
| 134 | wavecode_2_bSpectrum=0 |
| 135 | wavecode_2_bUseDots=0 |
| 136 | wavecode_2_bDrawThick=1 |
| 137 | wavecode_2_bAdditive=0 |
| 138 | wavecode_2_scaling=1.00000 |
| 139 | wavecode_2_smoothing=0.50000 |
| 140 | wavecode_2_r=1.000 |
| 141 | wavecode_2_g=1.000 |
| 142 | wavecode_2_b=1.000 |
| 143 | wavecode_2_a=1.000 |
| 144 | wave_2_per_point1=ma=ma+(above(mid,1)*3.1415*.01*mid); |
| 145 | wave_2_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 146 | wave_2_per_point3= |
| 147 | wave_2_per_point4=mx=mx+(.0004*cos(ma)); |
| 148 | wave_2_per_point5=my=my+(.0004*sin(ma)); |
| 149 | wave_2_per_point6= |
| 150 | wave_2_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 151 | wave_2_per_point8=my=if(above(my,.9),(.9-my),my); |
| 152 | wave_2_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 153 | wave_2_per_point10=my=if(below(my,.1),(.9+my),my); |
| 154 | wave_2_per_point11= |
| 155 | wave_2_per_point12=x=mx; |
| 156 | wave_2_per_point13=y=my; |
| 157 | wave_2_per_point14= |
| 158 | wave_2_per_point15=a=(above(bass+mid+treb,.3)); |
| 159 | wavecode_3_enabled=1 |
| 160 | wavecode_3_samples=512 |
| 161 | wavecode_3_sep=0 |
| 162 | wavecode_3_bSpectrum=0 |
| 163 | wavecode_3_bUseDots=0 |
| 164 | wavecode_3_bDrawThick=1 |
| 165 | wavecode_3_bAdditive=0 |
| 166 | wavecode_3_scaling=1.00000 |
| 167 | wavecode_3_smoothing=0.50000 |
| 168 | wavecode_3_r=1.000 |
| 169 | wavecode_3_g=1.000 |
| 170 | wavecode_3_b=1.000 |
| 171 | wavecode_3_a=1.000 |
| 172 | wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass); |
| 173 | wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb); |
| 174 | wave_3_per_point3= |
| 175 | wave_3_per_point4=mx=mx+(.0008*cos(ma)); |
| 176 | wave_3_per_point5=my=my+(.0008*sin(ma)); |
| 177 | wave_3_per_point6= |
| 178 | wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 179 | wave_3_per_point8=my=if(above(my,.9),(.9-my),my); |
| 180 | wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 181 | wave_3_per_point10=my=if(below(my,.1),(.9+my),my); |
| 182 | wave_3_per_point11= |
| 183 | wave_3_per_point12=x=mx; |
| 184 | wave_3_per_point13=y=my; |
| 185 | wave_3_per_point14= |
| 186 | wave_3_per_point15=a=(above(bass+mid+treb,.2)); |
| 187 | shapecode_0_enabled=0 |
| 188 | shapecode_0_sides=4 |
| 189 | shapecode_0_additive=0 |
| 190 | shapecode_0_thickOutline=0 |
| 191 | shapecode_0_textured=1 |
| 192 | shapecode_0_num_inst=1 |
| 193 | shapecode_0_x=0.500 |
| 194 | shapecode_0_y=0.500 |
| 195 | shapecode_0_rad=1.79142 |
| 196 | shapecode_0_ang=0.00000 |
| 197 | shapecode_0_tex_ang=0.62832 |
| 198 | shapecode_0_tex_zoom=1.00000 |
| 199 | shapecode_0_r=1.000 |
| 200 | shapecode_0_g=1.000 |
| 201 | shapecode_0_b=1.000 |
| 202 | shapecode_0_a=0.000 |
| 203 | shapecode_0_r2=0.000 |
| 204 | shapecode_0_g2=0.000 |
| 205 | shapecode_0_b2=0.000 |
| 206 | shapecode_0_a2=1.000 |
| 207 | shapecode_0_border_r=1.000 |
| 208 | shapecode_0_border_g=1.000 |
| 209 | shapecode_0_border_b=1.000 |
| 210 | shapecode_0_border_a=0.000 |
| 211 | shapecode_1_enabled=0 |
| 212 | shapecode_1_sides=4 |
| 213 | shapecode_1_additive=0 |
| 214 | shapecode_1_thickOutline=0 |
| 215 | shapecode_1_textured=0 |
| 216 | shapecode_1_num_inst=1 |
| 217 | shapecode_1_x=0.500 |
| 218 | shapecode_1_y=0.500 |
| 219 | shapecode_1_rad=0.10000 |
| 220 | shapecode_1_ang=0.00000 |
| 221 | shapecode_1_tex_ang=0.00000 |
| 222 | shapecode_1_tex_zoom=1.00000 |
| 223 | shapecode_1_r=1.000 |
| 224 | shapecode_1_g=0.000 |
| 225 | shapecode_1_b=0.000 |
| 226 | shapecode_1_a=1.000 |
| 227 | shapecode_1_r2=0.000 |
| 228 | shapecode_1_g2=1.000 |
| 229 | shapecode_1_b2=0.000 |
| 230 | shapecode_1_a2=0.000 |
| 231 | shapecode_1_border_r=1.000 |
| 232 | shapecode_1_border_g=1.000 |
| 233 | shapecode_1_border_b=1.000 |
| 234 | shapecode_1_border_a=0.100 |
| 235 | shapecode_2_enabled=0 |
| 236 | shapecode_2_sides=4 |
| 237 | shapecode_2_additive=0 |
| 238 | shapecode_2_thickOutline=0 |
| 239 | shapecode_2_textured=0 |
| 240 | shapecode_2_num_inst=1 |
| 241 | shapecode_2_x=0.500 |
| 242 | shapecode_2_y=0.500 |
| 243 | shapecode_2_rad=0.10000 |
| 244 | shapecode_2_ang=0.00000 |
| 245 | shapecode_2_tex_ang=0.00000 |
| 246 | shapecode_2_tex_zoom=1.00000 |
| 247 | shapecode_2_r=1.000 |
| 248 | shapecode_2_g=0.000 |
| 249 | shapecode_2_b=0.000 |
| 250 | shapecode_2_a=1.000 |
| 251 | shapecode_2_r2=0.000 |
| 252 | shapecode_2_g2=1.000 |
| 253 | shapecode_2_b2=0.000 |
| 254 | shapecode_2_a2=0.000 |
| 255 | shapecode_2_border_r=1.000 |
| 256 | shapecode_2_border_g=1.000 |
| 257 | shapecode_2_border_b=1.000 |
| 258 | shapecode_2_border_a=0.100 |
| 259 | shapecode_3_enabled=0 |
| 260 | shapecode_3_sides=4 |
| 261 | shapecode_3_additive=0 |
| 262 | shapecode_3_thickOutline=0 |
| 263 | shapecode_3_textured=0 |
| 264 | shapecode_3_num_inst=1 |
| 265 | shapecode_3_x=0.500 |
| 266 | shapecode_3_y=0.500 |
| 267 | shapecode_3_rad=0.10000 |
| 268 | shapecode_3_ang=0.00000 |
| 269 | shapecode_3_tex_ang=0.00000 |
| 270 | shapecode_3_tex_zoom=1.00000 |
| 271 | shapecode_3_r=1.000 |
| 272 | shapecode_3_g=0.000 |
| 273 | shapecode_3_b=0.000 |
| 274 | shapecode_3_a=1.000 |
| 275 | shapecode_3_r2=0.000 |
| 276 | shapecode_3_g2=1.000 |
| 277 | shapecode_3_b2=0.000 |
| 278 | shapecode_3_a2=0.000 |
| 279 | shapecode_3_border_r=1.000 |
| 280 | shapecode_3_border_g=1.000 |
| 281 | shapecode_3_border_b=1.000 |
| 282 | shapecode_3_border_a=0.100 |
| 283 | per_frame_init_1=x1 = 0.9; |
| 284 | per_frame_init_2=y1 = 0.5; |
| 285 | per_frame_init_3= |
| 286 | per_frame_init_4=x2 = 0.5; y2 = 0.5; |
| 287 | per_frame_init_5=x3 = 0.5; y3 = 0.5; |
| 288 | per_frame_init_6=x4 = 0.5; y4 = 0.5; |
| 289 | per_frame_1=zoom = 1; |
| 290 | per_frame_2=warp = 0; |
| 291 | per_frame_3=wave_a = 0; |
| 292 | per_frame_4= |
| 293 | per_frame_5=// elastic thread code |
| 294 | per_frame_6= |
| 295 | per_frame_7=xx1 = xx1*0.9 + (bass)*0.01; |
| 296 | per_frame_8=xx2 = xx2*0.9 + (treb)*0.01; |
| 297 | per_frame_9=yy1 = yy1*0.94 + (treb+bass)*0.0075; |
| 298 | per_frame_10=x1 = 0.5 + (xx1-xx2)*2; |
| 299 | per_frame_11=y1 = 0.4 + yy1*1.5; |
| 300 | per_frame_12=dt = 0.03/fps; |
| 301 | per_frame_13=vx2 = vx2*(1-2*dt) + dt*((x1+x3-2*x2)*10); |
| 302 | per_frame_14=vy2 = vy2*(1-2*dt) + dt*((y1+y3-2*y2)*10-0.5); |
| 303 | per_frame_15=vx3 = vx3*(1-2*dt) + dt*((x2+x4-2*x3)*10); |
| 304 | per_frame_16=vy3 = vy3*(1-2*dt) + dt*((y2+y4-2*y3)*10-0.5); |
| 305 | per_frame_17=vx4 = vx4*(1-2*dt) + dt*((x3-x4)*10); |
| 306 | per_frame_18=vy4 = vy4*(1-2*dt) + dt*((y3-y4)*10-0.5); |
| 307 | per_frame_19=x2 = x2 + vx2; y2 = y2 + vy2; |
| 308 | per_frame_20=x3 = x3 + vx3; y3 = y3 + vy3; |
| 309 | per_frame_21=x4 = x4 + vx4; y4 = y4 + vy4; |
| 310 | per_frame_22=vx2 = if(above(x2,0),vx2,abs(vx2)*0.5); |
| 311 | per_frame_23=vx2 = if(below(x2,1),vx2,-abs(vx2)*0.5); |
| 312 | per_frame_24=vx3 = if(above(x3,0),vx3,abs(vx3)*0.5); |
| 313 | per_frame_25=vx3 = if(below(x3,1),vx3,-abs(vx3)*0.5); |
| 314 | per_frame_26=vx4 = if(above(x4,0),vx4,abs(vx4)*0.5); |
| 315 | per_frame_27=vx4 = if(below(x4,1),vx4,-abs(vx4)*0.5); |
| 316 | per_frame_28=vy2 = if(above(y2,0),vy2,abs(vy2)*0.5); |
| 317 | per_frame_29=vy2 = if(below(y2,1),vy2,-abs(vy2)*0.5); |
| 318 | per_frame_30=vy3 = if(above(y3,0),vy3,abs(vy3)*0.5); |
| 319 | per_frame_31=vy3 = if(below(y3,1),vy3,-abs(vy3)*0.5); |
| 320 | per_frame_32=vy4 = if(above(y4,0),vy4,abs(vy4)*0.5); |
| 321 | per_frame_33=vy4 = if(below(y4,1),vy4,-abs(vy4)*0.5); |
| 322 | per_frame_34=q1 = x1;q2 = x2;q3 = x3;q4 = x4; |
| 323 | per_frame_35=q5 = y1;q6 = y2;q7 = y3;q8 = y4; |
| 324 | per_frame_36=q9 = 1/aspectx; |
| 325 | per_frame_37=q10 = 1/aspecty; |
| 326 | per_frame_38=q11 = aspectx; |
| 327 | per_frame_39=q12 = aspecty; |
| 328 | per_frame_40=q13 = sqrt(vx4*vx4 + vy4*vy4); |
| 329 | per_frame_41=q14 = atan2(vx4,vy4); |
| 330 | per_frame_42=q15 = sin(q14); |
| 331 | per_frame_43=q16 = cos(q14); |
| 332 | per_frame_44= |
| 333 | per_frame_45=// Flexi's beat detection |
| 334 | per_frame_46=vol = bass*8 + mid*4 + treb*2; |
| 335 | per_frame_47=vol = vol*above(vol,17); |
| 336 | per_frame_48=monitor = vol; |
| 337 | per_frame_49=beat = above(vol,res); |
| 338 | per_frame_50=diff = (1-beat)*diff + beat*(vol-res); |
| 339 | per_frame_51=res = beat*(vol+2*diff) + (1-beat)*(res - (diff*0.04 + 0.12)*60/fps); |
| 340 | per_frame_52=res = max(0,res); |
| 341 | per_frame_53= |
| 342 | per_frame_54=z = max(0,if(beat,z+1.6,z-30/fps)); |
| 343 | per_frame_55= |
| 344 | per_frame_56=zoom = 1 + z*0.004*60/fps; |
| 345 | per_frame_57= |
| 346 | warp_1=`float sigmoid(float t, float c){ |
| 347 | warp_2=` return 1 / ( 1 + exp(t*c)); |
| 348 | warp_3=`} |
| 349 | warp_4=` |
| 350 | warp_5=`float2 vortex(float2 domain, float2 position, float2 motionVector, float4 domainAspect, float radius, float sharpness, float spin, float zoom){ |
| 351 | warp_6=` domain -= position; |
| 352 | warp_7=` domain *= domainAspect.xy; |
| 353 | warp_8=` float sigmoidFilter = sigmoid( length(domain) - radius , sharpness ); |
| 354 | warp_9=` domain += + motionVector*sigmoidFilter; |
| 355 | warp_10=` spin *= sigmoidFilter; |
| 356 | warp_11=` float s = sin(spin); |
| 357 | warp_12=` float c = cos(spin); |
| 358 | warp_13=` float2 uv_rot; |
| 359 | warp_14=` uv_rot.x = c*domain.x - s*domain.y; |
| 360 | warp_15=` uv_rot.y = s*domain.x + c*domain.y; |
| 361 | warp_16=` uv_rot *= domainAspect.zw; |
| 362 | warp_17=` uv_rot += position; |
| 363 | warp_18=` return saturate(position + (uv_rot-position)*lerp(1,zoom,sigmoidFilter)); |
| 364 | warp_19=`} |
| 365 | warp_20=` |
| 366 | warp_21=`shader_body |
| 367 | warp_22=`{ |
| 368 | warp_23=` |
| 369 | warp_24=`float2 domain = uv; |
| 370 | warp_25=`float2 position = float2(q4,1-q8) + 0.5*0; |
| 371 | warp_26=`float2 motionVector = float2(-q15,q16)*q13*aspect.wz; |
| 372 | warp_27=`float4 domainAspect = aspect; |
| 373 | warp_28=`float radius = 0.05; |
| 374 | warp_29=`float sharpness = 50; |
| 375 | warp_30=`float spin = 0.4; |
| 376 | warp_31=`float zoom = 1.1; |
| 377 | warp_32=` |
| 378 | warp_33=`float2 uv_vortex = vortex( domain, position, motionVector, domainAspect, radius, sharpness, spin, zoom); |
| 379 | warp_34=` |
| 380 | warp_35=`uv = uv_vortex + texsize.zw*float2(0,0.15); |
| 381 | warp_36=`float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw*1.5 + rand_frame.xy; |
| 382 | warp_37=`uv -= (float2(0,1)*(lum(GetPixel(uv)-0.35))*texsize.zw*32)*(lum(GetPixel(uv))-0.4); |
| 383 | warp_38=`ret = GetPixel(saturate(uv)) - 0.0011 + (tex2D(sampler_noise_lq, dither_uv)-0.5)*0.0038; |
| 384 | warp_39=`ret-=roam_sin.wzy*roam_cos.zxy; |
| 385 | warp_40=`} |
| 386 | comp_1=`float2 uvo, factorA, factorB, product, numerator, denominator, fraction; |
| 387 | comp_2=`shader_body |
| 388 | comp_3=`{ |
| 389 | comp_4=`uvo = uv; |
| 390 | comp_5=`factorA = uv-float2(1-0.5,0.5); |
| 391 | comp_6=`factorB = float2(0,-512); |
| 392 | comp_7=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); |
| 393 | comp_8=`numerator = float2(1,0); |
| 394 | comp_9=`denominator = product; |
| 395 | comp_10=`fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part |
| 396 | comp_11=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part |
| 397 | comp_12=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 398 | comp_13=`uv = fraction.yx*float2(-1,1)*20; |
| 399 | comp_14=`uv = lerp(0.5 + (uvo-0.5)*2,uv+0.5,0.5); |
| 400 | comp_15=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5)*0.98; // Eo.S. mirror code with cutted borders |
| 401 | comp_16=` |
| 402 | comp_17=` float2 d = texsize.zw; |
| 403 | comp_18=` float3 dx = ( GetPixel(uv+float2(1,0)*d)-GetPixel(uv-float2(1,0)*d) ); |
| 404 | comp_19=` float3 dy = ( GetPixel(uv+float2(0,1)*d)-GetPixel(uv-float2(0,1)*d) ); |
| 405 | comp_20=`float2 dz = float2(dx.y,dy.y)*3; |
| 406 | comp_21=` |
| 407 | comp_22=`d = texsize.zw*2; |
| 408 | comp_23=`dx = ( 2*GetBlur1(uv+float2(1,0)*d)-2*GetBlur1(uv-float2(1,0)*d) )*0.5; |
| 409 | comp_24=`dy = ( 2*GetBlur1(uv+float2(0,1)*d)-2*GetBlur1(uv-float2(0,1)*d) )*0.5; |
| 410 | comp_25=` |
| 411 | comp_26=`dz +=float2(dx.y,dy.y); |
| 412 | comp_27=` |
| 413 | comp_28=`float3 bg = pow(length(dz)*0.8+0,0.7) + GetBlur2(uv).y*0.4-0.1; |
| 414 | comp_29=` |
| 415 | comp_30=`ret = bg*float3(0.3,0.5,0.7); |
| 416 | comp_31=`ret-=roam_sin.zyx*roam_cos.ywx; |
| 417 | comp_32=`ret = lerp(ret,float3(0.2,0.1,0),GetPixel(uv + float2(dx.x,dy.x)*texsize.zw*18).x*6); |
| 418 | comp_33=`ret = lerp(ret,1,GetPixel(uv).z); |
| 419 | comp_34=` |
| 420 | comp_35=`//ret = GetPixel(uv); |
| 421 | comp_36=`} |